//
//  OosUserEntry.h
//  Oos4ios
//
//  Created by Pablo Gonzalez on 2/23/11.
//  Copyright 2011 11870.com. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OosEntry.h"

@interface OosUserName : OosValueElementExtension
@end

@interface OosUserSurname : OosValueElementExtension
@end

@interface OosUserTelephone : OosValueElementExtension
@end

@interface OosUserMail : OosValueElementExtension
@end

#pragma mark Settings

@interface OosNoMails : OosValueElementExtension
@end

@interface OosNoNewletters : OosValueElementExtension
@end

@interface OosNoBulletins : OosValueElementExtension
@end

@interface OosOnlyContacts : OosValueElementExtension
@end

@interface OosNoMailOnMediaComments : OosValueElementExtension
@end

@interface OosNoMailOnLikes : OosValueElementExtension
@end

@interface OosNoMailOnCommentsOnReview : OosValueElementExtension
@end

@interface OosNoSuggestedContacts: OosValueElementExtension
@end

@interface OosFacebook: OosValueElementExtension
@end

@interface OosTwitter: OosValueElementExtension
@end

@interface OosFbCheckin: OosValueElementExtension
@end

@interface OosUserEntry : OosEntry

@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *surname;
@property (nonatomic, retain) NSString *telephone;
@property (nonatomic, retain) NSString *mail;

@property (nonatomic, retain) OosAuthor *oosAuthor;

@property (nonatomic, readonly) BOOL facebook;
@property (nonatomic, readonly) BOOL twitter;
@property (nonatomic, readonly) BOOL fbCheckin;

- (BOOL) receivesEmails;
- (BOOL) receivesNewsletters;
- (BOOL) receivesEmailsOnlyFromContacts;
- (BOOL) receivesBulletins;
- (BOOL) receivesMailsOnMediaComments;
- (BOOL) receivesMailsOnLikes;
- (BOOL) receivesMailsOnCommentsOnReview;
- (BOOL) receivesSuggestedContacts;

@end
